import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86186
 * Date: 2023-07-31
 * Time: 20:36
 */
public class Main {
    public static void main(String[] args) {
        Test test = new Test();
        int[] array1 = {4,1,2};
        int[] araay2 = {1,3,4,2};
        //List list = test.buildArray(array,3);
        int[] ret = test.nextGreaterElement(array1,araay2);
        System.out.println(123);
    }
}